package top.truism.auth.web.pojo;

public class Permission {

  private String name;

  private String module;

  private boolean mount;

  public Permission() {
  }

  public Permission(String name, String module, boolean mount) {
    this.name = name;
    this.module = module;
    this.mount = mount;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getModule() {
    return module;
  }

  public void setModule(String module) {
    this.module = module;
  }

  public boolean isMount() {
    return mount;
  }

  public void setMount(boolean mount) {
    this.mount = mount;
  }

  @Override
  public String toString() {
    return "Permission{" +
        "name='" + name + '\'' +
        ", module='" + module + '\'' +
        ", mount=" + mount +
        '}';
  }
}
